home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Speccy ClassiX 1998
/
Speccy ClassiX 98.iso
/
amiga_system
/
the_aminet
/
dev
/
gcc
/
libmat.lha
/
src
/
mdet.cc
< prev
next >
Wrap
C/C++ Source or Header
|
1980-01-01
|
196b
|
14 lines
// MATRIX LIB
// TOMMY JOHANSSON 1995
#include "matrix.h"
float det(const Matrix & A)
{
float x=1;
Matrix C(A.m);
C=gauss(A);
int i;
for(i=1;i<=A.m;i++)
x*=C.koff[i][i];
return(x);
}